<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Framework by Gaétan Collaud: Référence de la classe GGParser</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Généré par Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="pages.html"><span>Pages&nbsp;associées</span></a></li>
      <li class="current"><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li><a href="hierarchy.html"><span>Hiérarchie&nbsp;des&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Champs&nbsp;de&nbsp;donnée</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Référence de la classe GGParser</h1><!-- doxytag: class="GGParser" -->
<p>Classe <a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a>, c'est elle qui va compiler les fichiers templates.  
<a href="#_details">Plus de détails...</a></p>
<div class="dynheader">
Graphe d'héritage de GGParser:</div>
<div class="dynsection">
 <div class="center">
  <img src="class_g_g_parser.png" usemap="#GGParser_map" alt=""/>
  <map id="GGParser_map" name="GGParser_map">
<area href="class_g_g_t_parser.html" alt="GGTParser" shape="rect" coords="0,56,75,80"/>
</map>
 </div>
</div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Fonctions membres publiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a87bce656a7b985214d9cdedb2e70baed">parse</a> ($f)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse un fichier en remplaçant toutes les balises par leur équivalent et l'écrit dans le dossier des fichiers compilés.  <a href="#a87bce656a7b985214d9cdedb2e70baed"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#af5f4ca30621b64e91bdc25c1fd0f6c0f">getFileLink</a> ($f)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renvoie le lien vers le fichier compilé.  <a href="#af5f4ca30621b64e91bdc25c1fd0f6c0f"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres publiques statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#aee91d622fa8404403223cf86f1115d77">getInstance</a> (<a class="el" href="class_gagatemplate.html">Gagatemplate</a> &amp;$gg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Permet de récupéré l'instance <a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a>.  <a href="#aee91d622fa8404403223cf86f1115d77"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres protégées</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a0cfe8368e6f895a1354f887dffa765ee">openFile</a> ($f)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ouvre le fichier template à compiler.  <a href="#a0cfe8368e6f895a1354f887dffa765ee"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a35bd5377d78c70b900d8c42feb8bc3e6">writeFile</a> ($f, $c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ecrit le fichier compilé dans le dossier des fichiers compilés.  <a href="#a35bd5377d78c70b900d8c42feb8bc3e6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a138b4feef6acddd533525f0b74953909">parseSup</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fonction qui pourra être utilisée par les extentions.  <a href="#a138b4feef6acddd533525f0b74953909"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a13e92e9b87d1783be4654c468bf21261">parseVar</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les variables.  <a href="#a13e92e9b87d1783be4654c468bf21261"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a95c77ae2b50c9522a27d3fffb3874507">parseVarAdd</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les balises d'ajout de variable.  <a href="#a95c77ae2b50c9522a27d3fffb3874507"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a31daf05b374916f96a1aac98ff1d7bd2">parseInclude</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les inclusion.  <a href="#a31daf05b374916f96a1aac98ff1d7bd2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a5acdebe12b84509ec3523bb5ef201652">parseCond</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les conditions.  <a href="#a5acdebe12b84509ec3523bb5ef201652"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a4e871c201fe9dba92cb611092f79f4a1">parseForeach</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les foreach (les boucles).  <a href="#a4e871c201fe9dba92cb611092f79f4a1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a21b381fedd037c49e20a8cd5e903d23a">parseFunc</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Parse les fonctions.  <a href="#a21b381fedd037c49e20a8cd5e903d23a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#acb5aee9b29e9abceab22f07573784bb0">parseCom</a> (&amp;$c)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Efface les commentaires du contenu.  <a href="#acb5aee9b29e9abceab22f07573784bb0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#ae66f84253a157d3f87bcfbe5bb57f5ee">setRefGG</a> (<a class="el" href="class_gagatemplate.html">Gagatemplate</a> &amp;$gg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Mutateur de la propriété $gg (référence au moteur de template).  <a href="#ae66f84253a157d3f87bcfbe5bb57f5ee"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs protégés</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a2dd920f4e0ea82b1f5dd5616d31a77b7">$gg</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">référence vers l'objet de la classe gagatemplate  <a href="#a2dd920f4e0ea82b1f5dd5616d31a77b7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a6fd3a55698d85da6e7385ab333555a43">$bal</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">les balises à remplacer  <a href="#a6fd3a55698d85da6e7385ab333555a43"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres privées</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a25277db590df3efa755513c2483c8442">getCompileDir</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renvoie le lien vers le fichier compilé directement depuis la classe mère.  <a href="#a25277db590df3efa755513c2483c8442"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a205de45d052edef7ced0eb64aad41d3c">getTplDir</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Renvoie le lien vers le fichier cache directement depuis la classe mère.  <a href="#a205de45d052edef7ced0eb64aad41d3c"></a><br/></td></tr>
<tr><td colspan="2"><h2>Fonctions membres privées statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a2498076a920fe401340166a2579f855f">parseIncludeCallback</a> ($m)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Callback de la méthode <a class="el" href="class_g_g_parser.html#a31daf05b374916f96a1aac98ff1d7bd2" title="Parse les inclusion.">parseInclude()</a>.  <a href="#a2498076a920fe401340166a2579f855f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a98c141440ff5433a1ee8d6253b35eb4e">parseForeachCallback</a> ($m)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#a2ea7966aa527ee33531eb521b25a9855">parseFuncCallback</a> ($m)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Callback de la fonction <a class="el" href="class_g_g_parser.html#a21b381fedd037c49e20a8cd5e903d23a" title="Parse les fonctions.">parseFunc()</a>.  <a href="#a2ea7966aa527ee33531eb521b25a9855"></a><br/></td></tr>
<tr><td colspan="2"><h2>Attributs privés statiques</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_g_g_parser.html#ad9d7ce33ebb142b70e58b68052ca0ea8">$instance</a> = null</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">instance du parseur (pour éviter qu'il n'y en aie plusieur)  <a href="#ad9d7ce33ebb142b70e58b68052ca0ea8"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Description détaillée</h2>
<p>Classe <a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a>, c'est elle qui va compiler les fichiers templates. </p>
<p>Elle est appelée par la classe <a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a>. </p>
<dl class="author"><dt><b>Auteur:</b></dt><dd>Gaétan Collaud (<a href="mailto:gaga26@gmail.com">gaga26@gmail.com</a>) </dd></dl>
<dl class="version"><dt><b>Version:</b></dt><dd>1.0 </dd></dl>
<hr/><h2>Documentation des fonctions membres</h2>
<a class="anchor" id="a25277db590df3efa755513c2483c8442"></a><!-- doxytag: member="GGParser::getCompileDir" ref="a25277db590df3efa755513c2483c8442" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getCompileDir </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renvoie le lien vers le fichier compilé directement depuis la classe mère. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le lien vers le fichier compilé </dd></dl>

</div>
</div>
<a class="anchor" id="af5f4ca30621b64e91bdc25c1fd0f6c0f"></a><!-- doxytag: member="GGParser::getFileLink" ref="af5f4ca30621b64e91bdc25c1fd0f6c0f" args="($f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getFileLink </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renvoie le lien vers le fichier compilé. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$f le fichier templates </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le lien vers le fichier compilé </dd></dl>

</div>
</div>
<a class="anchor" id="aee91d622fa8404403223cf86f1115d77"></a><!-- doxytag: member="GGParser::getInstance" ref="aee91d622fa8404403223cf86f1115d77" args="(Gagatemplate &amp;$gg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static getInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_gagatemplate.html">Gagatemplate</a> &amp;$&nbsp;</td>
          <td class="paramname"> <em>gg</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Permet de récupéré l'instance <a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a>. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a></em>&nbsp;</td><td>$gg référence vers l'objet de la classe <a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd><a class="el" href="class_g_g_parser.html" title="Classe GGParser, c&#39;est elle qui va compiler les fichiers templates.">GGParser</a> l'instance du parseur </dd></dl>

<p>Réimplémentée dans <a class="el" href="class_g_g_t_parser.html#aee91d622fa8404403223cf86f1115d77">GGTParser</a>.</p>

</div>
</div>
<a class="anchor" id="a205de45d052edef7ced0eb64aad41d3c"></a><!-- doxytag: member="GGParser::getTplDir" ref="a205de45d052edef7ced0eb64aad41d3c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getTplDir </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Renvoie le lien vers le fichier cache directement depuis la classe mère. </p>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le lien vers le fichier cache </dd></dl>

</div>
</div>
<a class="anchor" id="a0cfe8368e6f895a1354f887dffa765ee"></a><!-- doxytag: member="GGParser::openFile" ref="a0cfe8368e6f895a1354f887dffa765ee" args="($f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">openFile </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ouvre le fichier template à compiler. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$f le fichier template </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le contenu du fichier </dd></dl>

</div>
</div>
<a class="anchor" id="a87bce656a7b985214d9cdedb2e70baed"></a><!-- doxytag: member="GGParser::parse" ref="a87bce656a7b985214d9cdedb2e70baed" args="($f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parse </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse un fichier en remplaçant toutes les balises par leur équivalent et l'écrit dans le dossier des fichiers compilés. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$f fichier template à parser </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acb5aee9b29e9abceab22f07573784bb0"></a><!-- doxytag: member="GGParser::parseCom" ref="acb5aee9b29e9abceab22f07573784bb0" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseCom </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Efface les commentaires du contenu. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5acdebe12b84509ec3523bb5ef201652"></a><!-- doxytag: member="GGParser::parseCond" ref="a5acdebe12b84509ec3523bb5ef201652" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseCond </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les conditions. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4e871c201fe9dba92cb611092f79f4a1"></a><!-- doxytag: member="GGParser::parseForeach" ref="a4e871c201fe9dba92cb611092f79f4a1" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseForeach </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les foreach (les boucles). </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a98c141440ff5433a1ee8d6253b35eb4e"></a><!-- doxytag: member="GGParser::parseForeachCallback" ref="a98c141440ff5433a1ee8d6253b35eb4e" args="($m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static parseForeachCallback </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>m</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a21b381fedd037c49e20a8cd5e903d23a"></a><!-- doxytag: member="GGParser::parseFunc" ref="a21b381fedd037c49e20a8cd5e903d23a" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseFunc </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les fonctions. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2ea7966aa527ee33531eb521b25a9855"></a><!-- doxytag: member="GGParser::parseFuncCallback" ref="a2ea7966aa527ee33531eb521b25a9855" args="($m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static parseFuncCallback </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>m</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Callback de la fonction <a class="el" href="class_g_g_parser.html#a21b381fedd037c49e20a8cd5e903d23a" title="Parse les fonctions.">parseFunc()</a>. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>$m les entrées trouvées par <a class="el" href="class_g_g_parser.html#a21b381fedd037c49e20a8cd5e903d23a" title="Parse les fonctions.">parseFunc()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le texte de remplacement </dd></dl>

</div>
</div>
<a class="anchor" id="a31daf05b374916f96a1aac98ff1d7bd2"></a><!-- doxytag: member="GGParser::parseInclude" ref="a31daf05b374916f96a1aac98ff1d7bd2" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseInclude </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les inclusion. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2498076a920fe401340166a2579f855f"></a><!-- doxytag: member="GGParser::parseIncludeCallback" ref="a2498076a920fe401340166a2579f855f" args="($m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static parseIncludeCallback </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>m</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Callback de la méthode <a class="el" href="class_g_g_parser.html#a31daf05b374916f96a1aac98ff1d7bd2" title="Parse les inclusion.">parseInclude()</a>. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>array</em>&nbsp;</td><td>$m les entrées trouvées par la fonction <a class="el" href="class_g_g_parser.html#a31daf05b374916f96a1aac98ff1d7bd2" title="Parse les inclusion.">parseInclude()</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Renvoie:</b></dt><dd>string le texte de remplacement </dd></dl>

</div>
</div>
<a class="anchor" id="a138b4feef6acddd533525f0b74953909"></a><!-- doxytag: member="GGParser::parseSup" ref="a138b4feef6acddd533525f0b74953909" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseSup </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Fonction qui pourra être utilisée par les extentions. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

<p>Réimplémentée dans <a class="el" href="class_g_g_t_parser.html#a138b4feef6acddd533525f0b74953909">GGTParser</a>.</p>

</div>
</div>
<a class="anchor" id="a13e92e9b87d1783be4654c468bf21261"></a><!-- doxytag: member="GGParser::parseVar" ref="a13e92e9b87d1783be4654c468bf21261" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseVar </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les variables. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a95c77ae2b50c9522a27d3fffb3874507"></a><!-- doxytag: member="GGParser::parseVarAdd" ref="a95c77ae2b50c9522a27d3fffb3874507" args="(&amp;$c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">parseVarAdd </td>
          <td>(</td>
          <td class="paramtype">&amp;$&nbsp;</td>
          <td class="paramname"> <em>c</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Parse les balises d'ajout de variable. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c référence du contenu du fichier en cour de compilation </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae66f84253a157d3f87bcfbe5bb57f5ee"></a><!-- doxytag: member="GGParser::setRefGG" ref="ae66f84253a157d3f87bcfbe5bb57f5ee" args="(Gagatemplate &amp;$gg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">setRefGG </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_gagatemplate.html">Gagatemplate</a> &amp;$&nbsp;</td>
          <td class="paramname"> <em>gg</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mutateur de la propriété $gg (référence au moteur de template). </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_gagatemplate.html" title="Classe Gagatemplate, c&#39;est la classe de base du moteur de template, c&#39;est...">Gagatemplate</a></em>&nbsp;</td><td>$gg référence vers le moteur de template </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a35bd5377d78c70b900d8c42feb8bc3e6"></a><!-- doxytag: member="GGParser::writeFile" ref="a35bd5377d78c70b900d8c42feb8bc3e6" args="($f, $c)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">writeFile </td>
          <td>(</td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">$&nbsp;</td>
          <td class="paramname"> <em>c</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Ecrit le fichier compilé dans le dossier des fichiers compilés. </p>
<dl><dt><b>Paramètres:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$f le fichier template </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>string</em>&nbsp;</td><td>$c le contenu du fichier compilé </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Documentation des champs</h2>
<a class="anchor" id="a6fd3a55698d85da6e7385ab333555a43"></a><!-- doxytag: member="GGParser::$bal" ref="a6fd3a55698d85da6e7385ab333555a43" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$bal<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<b>Valeur initiale :</b><div class="fragment"><pre class="fragment"> array(
                <span class="stringliteral">&#39;com&#39;</span>           =&gt; array(<span class="stringliteral">&#39;/#&#39;</span>, <span class="stringliteral">&#39;#/&#39;</span>),                                                                   
                <span class="stringliteral">&#39;var&#39;</span>           =&gt; array(<span class="stringliteral">&#39;::&#39;</span>, <span class="stringliteral">&#39;::&#39;</span>, <span class="charliteral">&#39;[&#39;</span>, <span class="charliteral">&#39;]&#39;</span>),                                                 
                <span class="stringliteral">&#39;varAdd&#39;</span>        =&gt; array(<span class="stringliteral">&#39;var&#39;</span>, <span class="stringliteral">&#39;name&#39;</span>),                                                                
                <span class="stringliteral">&#39;include&#39;</span>       =&gt; array(<span class="stringliteral">&#39;include&#39;</span>, <span class="stringliteral">&#39;file&#39;</span>, <span class="stringliteral">&#39;cache&#39;</span>),                                   
                <span class="stringliteral">&#39;cond&#39;</span>          =&gt; array(<span class="stringliteral">&#39;if&#39;</span>, <span class="stringliteral">&#39;elseif&#39;</span>, <span class="stringliteral">&#39;else&#39;</span>, <span class="stringliteral">&#39;cond&#39;</span>),                               
                <span class="stringliteral">&#39;foreach&#39;</span>       =&gt; array(<span class="stringliteral">&#39;foreach&#39;</span>, <span class="stringliteral">&#39;var&#39;</span>, <span class="stringliteral">&#39;as&#39;</span>, <span class="stringliteral">&#39;foreachelse&#39;</span>, <span class="stringliteral">&#39;infos&#39;</span>),               
                <span class="stringliteral">&#39;func&#39;</span>          =&gt; array(<span class="stringliteral">&#39;function&#39;</span>, <span class="stringliteral">&#39;name&#39;</span>)                                                    
        )
</pre></div>
<p>les balises à remplacer </p>

</div>
</div>
<a class="anchor" id="a2dd920f4e0ea82b1f5dd5616d31a77b7"></a><!-- doxytag: member="GGParser::$gg" ref="a2dd920f4e0ea82b1f5dd5616d31a77b7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$gg<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>référence vers l'objet de la classe gagatemplate </p>

</div>
</div>
<a class="anchor" id="ad9d7ce33ebb142b70e58b68052ca0ea8"></a><!-- doxytag: member="GGParser::$instance" ref="ad9d7ce33ebb142b70e58b68052ca0ea8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">$instance = null<code> [static, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>instance du parseur (pour éviter qu'il n'y en aie plusieur) </p>

<p>Réimplémentée dans <a class="el" href="class_g_g_t_parser.html#ad9d7ce33ebb142b70e58b68052ca0ea8">GGTParser</a>.</p>

</div>
</div>
<hr/>La documentation de cette classe a été générée à partir du fichier suivant :<ul>
<li>libs/<a class="el" href="_gagatemplate_8php.html">Gagatemplate.php</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Généré le Sun May 30 20:39:44 2010 pour Framework by Gaétan Collaud par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
